package com.kyrie.system.druid;

import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource;

/***
 * 描述: 路由多数据源
 *
 * @author wuxiang
 * @date 2020-04-17 00:23
 */
public class MultipleDataSource extends AbstractRoutingDataSource {

    @Override
    protected Object determineCurrentLookupKey() {
        return DatasourceSelectHelper.getKey();
    }
}
